//新增的部分
import Login from './views/Login.vue'

//修改的部分

export default new Router({
    mode: 'hash',
    routes: [
        { path: '/', name: 'login', component: Login},
        { path: '/home', name: 'home', component: () => import('@/views/Home.vue')},
    ]
})